#ifndef SERVICE_H
#define SERVICE_H

#include<iostream>
#include<stdlib.h>
#include"department.h"
#include"employee.h"

using namespace std;

class Service
{
public:

	virtual bool addDept(Department dept) = 0;
	virtual bool delDept(int deptid) = 0;
	virtual bool addEmp(int idd,Employee emp) = 0;
	virtual bool delEmp(int id,int empid) = 0;
	virtual bool modEmp(int depid,int idd,Employee emp) = 0;
	virtual void listDept() = 0;
	virtual void listEmp(int deptid) = 0;
	virtual void listAllEmp() = 0;
	virtual ~Service() {}
};


#endif//SERVICE_H
